<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<div class="nav nav-tabs">
			<h4>解锁申请列表</h4>
		</div>
		<table class="table table-hover table-bordered margin-top-20">
			<thead>
				<tr>
					<th width="15">
						<label>
							<input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
						</label>
					</th>
					<th>客户名称</th>
					<th>创建日期</th>
					<th>联系方式</th>
					<th>需求产品类别</th>
					<th width="300">跟进信息</th>
					<th>锁定人</th>
					<th>状态</th>
					<th width="130">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="lists" item="vo">
				<tr>
					<td>
						<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
							   value="{$vo.id}" title="ID:{$vo.id}">
					</td>
					<td>{$vo.name}</td>
					<td>{$vo.createtime|date="Y-m-d",###}</td>
					<td>{$vo.phone}</td>
					<td>{$vo.cname}</td>
					<td>{$vo.evolve}</td>
					<td>{$vo.user_nickname}</td>
					<th>{$vo.is_done?'已成交':'未成交'}</th>
					<td>
						<if condition="auth_check('edit')"><a href='{:url("edit",array("id"=>$vo["id"]))}'>编辑</a></if>&nbsp;
						<if condition="auth_check('follow')"><a href='javascript:parent.openIframeLayer("{:url("follow",["pid" => $vo["id"]])}","买家跟进记录")'>跟进</a></if>
						<if condition="auth_check('done')">
							<empty name="vo.is_done">
								<a href="{:url('done',['id' => $vo['id']])}" class="js-ajax-dialog-btn" data-msg="是否成交该订单？">成交</a>
							</empty>
						</if>
						<if condition="auth_check('unlock_se')">
							<a href="{:url('unlock_se',['id' => $vo['id']])}" class="js-ajax-dialog-btn" data-msg="是否解锁该记录？">解锁</a>
						</if>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}<li><a>共计 {$lists->total()} 条</a></li><li>
			<input class="page" type="text" name="pageNum" value="{$lists->getCurrentPage()}"/>
			<a class="topage" data-url="{$lists->getCurrentPath()}">跳转</a>
			</li></div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>